Ext.define('Egitim.view.admin.ToplantiTutanagiForm', {
	extend: 'Egitim.lib.FormPanel',
    title: LBL_EGITMEN,
	alias: 'widget.toplantitutanagiform',

    // The form will submit an AJAX request to this URL when submitted
    url: 'admins/saveToplantiTutanagi',
    autoScroll: true,
	egitmenId: '',
	items: [{
        xtype:'fieldset',
        columnWidth: 0.5,
        title: '',
        border: false,
        collapsible: false,
        defaults: {anchor: '100%'},
        items :[{
    		xtype: 'egitimdate',
    		fieldLabel: 'Tarih',
    	    name: 'tarih',
    		allowBlank: false,
    		inputWidth: 150
    	}, {
    		xtype: 'textfield',
    		fieldLabel: 'Saat',
    	    msgTarget: 'side',
    	    name: 'saat',
    	    emptyText: '11:35 gibi',
    		allowBlank: false,
    		inputWidth: 150
    	}, {
    		xtype: 'textfield',
    		fieldLabel: 'Yer',
    	    msgTarget: 'side',
    	    name: 'yer',
    	    emptyText: 'Toplantı Yerini giriniz',
    		allowBlank: false
    	}]
	}, {
		xtype: 'textarea',
		name: 'katilimcilar',
		fieldLabel: 'Katılımcılar',
		allowBlank: false
	}, {
		xtype: 'textfield',
		name: 'konu',
		fieldLabel: 'Konu',
		allowBlank: false
	}, {
		xtype: 'htmleditor',
		name: 'aciklama',
		fieldLabel: 'Açıklama'
	}, {
    	xtype: 'fieldcontainer',
    	layout: 'hbox',
    	items: [{
        	xtype: 'filefield',
            name: 'dokumandata',
            fieldLabel: 'Doküman',
            anchor: '100%',
            buttonText: 'Seç',
            flex: 3
        },{
        	xtype: 'button',
        	text: 'Gör',
        	itemId: 'dokumangor',
        	action: 'dokumangor',
        	flex: 1,
        	hidden: true
        }]
    },{
        name: 'id',
		xtype: 'hidden'
    }]
});